﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MaxZhang.EasyEntities.Attribute;

namespace MaxZhang.EasyEntities.Dynamic.Aop
{
    /// <summary>
    /// AOP切面信息类
    /// </summary>
    public class AopAspectInfo
    {
       public AopAspectInfo(){}
       public AopAspectInfo(string aid, InterceptorBaseAttribute interceptor)
       {
           Id = aid;
           Interceptor = interceptor;
       }

       /// <summary>
       /// 切面ID
       /// </summary>
       public string Id{set;get;}
       /// <summary>
       /// 切面拦截器
       /// </summary>
       public InterceptorBaseAttribute Interceptor { set; get; }
    }
}
